﻿
//=======================================================================
// <copyright file="UnauthorizedException.cs" company="Samuel Chen Studio">
//     Copyright (c) Samuel Chen Studio. All rights reserved.
//     author   : Samuel Chen
//     version  : 1.0
//     contact  : http://www.SamuelChen.net, samuel.net@gmail.com
// </copyright>
//=======================================================================

using System;
using System.Net;

namespace Net.SamuelChen.SharpTweet {
    /// <summary>
    /// The exception that is throw when an unauthorized error occurs.
    /// </summary>
    public class UnauthorizedException : WebException {
        public UnauthorizedException(string message, Exception innerException) :
            base(message, innerException) {
        }

    }

    /// <summary>
    /// The exception that is throw when a requested reaches the limitation.
    /// </summary>
    public class ReachedLimitationException : WebException {
        public ReachedLimitationException(string message, Exception innerException) :
            base(message, innerException) {
        }

    }

    /// <summary>
    /// The exception that is throw when a requested web page is not found.
    /// </summary>
    public class PageNotFoundException : WebException {
        public PageNotFoundException(string message, Exception innerException) :
            base(message, innerException) {
        }

    }
}
